﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Main.aspx.cs" Inherits="FreeProperty.Main" %>

<%@ Register Src="~/Views/Shared/TopMenu.ascx" TagName="TopMenu" TagPrefix="uc1" %>
<%@ Register Src="~/Views/Shared/RightMenu.ascx" TagName="RightMenu" TagPrefix="uc2" %>
<%@ Register Src="~/Views/Shared/LeftNavigationMenu.ascx" TagName="LeftMenu" TagPrefix="ucl" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Free Properties</title>
    <script type="text/javascript" src="Scripts/Validation.js"></script>
    <script type="text/javascript" src="Scripts/jquery.js"></script>
    <script type="text/javascript" src="Scripts/JSUtils.js"></script>
    <script src="Scripts/mobilyslider.js" type="text/javascript"></script>
    <script src="Scripts/init.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href='Styles/FreeProperty.css' media="screen" />
    <link href="Styles/default.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript" src="Scripts/jquery.autocomplete.js"></script>
    <style type="text/css">
        .ac_odd
        {
            background: #dddddd;
        }
        .ac_results
        {
            padding: 0px;
            border: 1px solid black;
            background-color: white;
            overflow: auto;
            height: 200px;
            z-index: 99999;
        }
        .ac_results ul
        {
            width: 100%;
            list-style-position: outside;
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .ac_results li
        {
            margin: 0px;
            padding: 2px 5px;
            cursor: default;
            display: block;
            font: menu;
            font-size: 12px;
            line-height: 16px;
        }
        .ac_loading
        {
            background: url(loading.jpg) right no-repeat;
        }
        .ac_over
        {
            background-color: #0A246A;
            color: white;
        }
    </style>
    <script type="text/javascript" language="javascript">
        
    </script>
</head>
<body>
    <div id="mainHeader">
        <uc1:TopMenu ID="topMenu" runat="server" />
    </div>
    <div id="mainBody" >
        <div align="center">
            <div id="body">
             <div id="contentLoading" style="position: absolute; top: 35%; left: 45%; z-index: 1000"
                        class="contentLoading">
                        <img src="Styles/Images/loading.gif" alt="Loading data, please wait..." />
                    </div>
                <div class="leftContainer" style="min-height:500px">
                   
                    <div class="form formNoLeftNav" >
                        <div id="MainContainer">
                        </div>
                    </div>
                </div>
                <div class="rightContiner" style="min-height:500px">
                    
                        <uc2:RightMenu ID="rightMenu" runat="server" />
                </div>
                <div style="clear: both">
                    &nbsp;</div>
            </div>
        </div>
    </div>
    <script type="text/javascript">

    $(document).ready(function () {
         AjaxGET('<%=_defaultURL %>', <%=_successFunction %>,<%=_errorFunction %>);
    });
        
    $(document).ajaxSend(function () {
  
    $("#contentLoading").show();
});

$(document).ajaxStop(function () {
    $("#contentLoading").hide();
});

$('.slider1').mobilyslider({
            transition: 'horizontal',
            animationSpeed: 500,
            autoplay: true,
            autoplaySpeed: 10000,
            pauseOnHover: true,
            bullets: false
        });
        $('.slider2').mobilyslider({
            transition: 'horizontal',
            animationSpeed: 500,
            autoplay: true,
            autoplaySpeed: 10000,
            pauseOnHover: true,
            bullets: false
        });
</script>
</body>
</html>

